package wang.hongyun.pojo;

import java.util.Date;

public class Tb_dep {
    private Integer depId;

    private Integer pid;

    private String depSn;

    private String depName;

    private String depDesc;

    private Integer flag;

    private Date createtime;

    private Date updatetime;

    public Tb_dep(Integer depId, Integer pid, String depSn, String depName, String depDesc, Integer flag, Date createtime, Date updatetime) {
        this.depId = depId;
        this.pid = pid;
        this.depSn = depSn;
        this.depName = depName;
        this.depDesc = depDesc;
        this.flag = flag;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Tb_dep() {
        super();
    }

    public Integer getDepId() {
        return depId;
    }

    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getDepSn() {
        return depSn;
    }

    public void setDepSn(String depSn) {
        this.depSn = depSn == null ? null : depSn.trim();
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName == null ? null : depName.trim();
    }

    public String getDepDesc() {
        return depDesc;
    }

    public void setDepDesc(String depDesc) {
        this.depDesc = depDesc == null ? null : depDesc.trim();
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}